package com.sinoglobal.sinostore.adapter;

import java.util.List;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.sinoglobal.sinostore.R;

public class SearchTextAdapter extends AbBaseAdapter<String> {

	public SearchTextAdapter(Context context, List<String> data) {
		super(context, R.layout.shop_search_list_item, data);
	}

	@Override
	void setView(int position, View convertView) {
		String searchText=getItem(position);
		TextView tvSearchName=ViewHolder.getViewById(convertView, R.id.tvSearchItem);
		tvSearchName.setText(searchText);
	}

}
